package com.zhuiyun.project.api.venuemanagement.service;

import com.zhuiyun.project.api.venuemanagement.entity.BanRecord;
import com.zhuiyun.project.api.venuemanagement.entity.VenueManagement;
import com.zhuiyun.project.common.response.CommonResult;
import com.zhuiyun.project.utils.pageUtil.PageRequest;

/**
 * @InterfaceName VenueBanService
 * @Description TODO
 * @Author wuwan
 * @Date 2023/12/6 10:22
 **/
public interface VenueBanService {
    /*
    * @Author wuwan
    * @Description 查询所有被封禁的数据
    * @Date 2023/12/6 11:03
    * @Return
    */
    CommonResult selectVenueBan(PageRequest pageRequest, String userName, String phone);
    /*
    * @Author wuwan
    * @Description 账号解封
    * @Date 2023/12/6 14:22
    * @Return
    */
    CommonResult changeUserStatusBan(BanRecord banRecord);
    /*
    * @Author wuwan
    * @Description 查询历史封禁记录
    * @Date 2023/12/6 14:22
    * @Return
    */
    CommonResult getVenueBanRecord(String venueUniqueIdentifier);
    /*
    * @Author wuwan
    * @Description 定时解封
    * @Date 2023/12/6 20:16
    * @Return
    */
    void changeLiftBan();
    /*
    * @Author wuwan
    * @Description 定时解除授权
    * @Date 2023/12/6 20:16
    * @Return
    */
    void changeAuthorizationExpiredTime();
}
